package com.zdkj.subway.st.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.st.entity.SwTkStockMonthCheckDetail;
import com.zdkj.subway.st.mapper.SwTkStockMonthCheckDetailMapper;
import com.zdkj.subway.st.service.SwTkStockMonthCheckDetailService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: zdkj
 * @Package: com.zdkj.subway.st.service.impl
 * @ClassName: SwStStockMonthCheckDetailServiceImpl
 * @Description:
 * @Author: kangjian
 * @CreateDate: 2020/1/21 10:41
 * @Version: 1.0
 */
@Service
@AllArgsConstructor
public class SwTkStockMonthCheckDetailServiceImpl extends ServiceImpl<SwTkStockMonthCheckDetailMapper, SwTkStockMonthCheckDetail> implements SwTkStockMonthCheckDetailService {

    private final SwTkStockMonthCheckDetailMapper swTkStockMonthCheckDetailMapper;

    @Override
    public List<SwTkStockMonthCheckDetail> queryStatisticsByYearMonth(String yearMonth) {
        return swTkStockMonthCheckDetailMapper.queryStatisticsByYearMonth(yearMonth);
    }
}
